package com.jhy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jhy.common.utils.PageUtils;
import com.jhy.product.entity.CategoryEntity;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author jhy
 * @email 2496085873@qq.com
 * @date 2021-05-09 11:02:17
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //查询商品所有分类以及子分类，以树形结构组装起来
    List<CategoryEntity> listWithTree();

    //删除菜单
    void removeMenuByIds(List<Long> asList);
}

